home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.2 Applications 1996 May / SGI IRIX 6.2 Applications 1996 May.iso / insight / SGI_bookshelves / SGI_EndUser / books / Impr_UG / styles / toc.pv < prev    next >
Text File  |  1996-05-06  |  12KB  |  460 lines

  1. <!-- Version $Revision: 1.7 $ of the fulltext print stylesheet -->
  2.  
  3. <!ENTITY    add.left-indent    CDATA    "+=20"    >
  4. <!ENTITY    app.text-b4    CDATA    "if(isempty(attr(LBL,ancestor(APPENDIX))),'',switch(attr(LANG,ancestor(SGIDOC)),de,Anhang ,fr,Appendice ,ja_JP.EUC,òtÿ^ ,DEFAULT,Appendix ) attr(LBL,ancestor(APPENDIX)))"    >
  5. <!ENTITY    body.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,Ryumin-Light-RKSJ-H,DEFAULT,new century schoolbook)"    >
  6. <!ENTITY    body.font-size    CDATA    "12"    >
  7. <!ENTITY    body.line-space    CDATA    "14"    >
  8. <!ENTITY    character-set    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,shiftjis,DEFAULT,)"    >
  9. <!ENTITY    chp.text-b4    CDATA    "if(isempty(attr(LBL,ancestor(CHAPTER))),'',switch(attr(LANG,ancestor(SGIDOC)),de,Kapitel ,fr,Chapitre ,ja_JP.EUC,æµ ,DEFAULT,Chapter ) attr(LBL,ancestor(CHAPTER))) if(isempty(attr(LBL,ancestor(CHAPTER))),'',switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC, Å═,DEFAULT,))"    >
  10. <!ENTITY    chp.title.font-size    CDATA    "12"    >
  11. <!ENTITY    chp.title.font-weight    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,Medium,DEFAULT,Bold)"    >
  12. <!ENTITY    chp.title.left-indent    CDATA    "40"    >
  13. <!ENTITY    chp.title.space-before    CDATA    "6"    >
  14. <!ENTITY    doc.title.font-size    CDATA    "16"    >
  15. <!ENTITY    doc.title.line-space    CDATA    "21"    >
  16. <!ENTITY    left-indent.1    CDATA    "4"    >
  17. <!ENTITY    title-font    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,Ryumin-Light-RKSJ-H,DEFAULT,new century schoolbook)"    >
  18. <!ENTITY    title.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,GothicBBB-Medium-RKSJ-H,DEFAULT,helvetica)"    >
  19. <!ENTITY    title.foreground    CDATA    "black"    >
  20. <!ENTITY    title.space-before    CDATA    "4"    >
  21. <!ENTITY    font-slant.roman    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,*,DEFAULT,Roman)"    >
  22. <!ENTITY    font-slant.italics    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,*,DEFAULT,Italics)"    >
  23. <!ENTITY    font-weight.bold    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,Medium,DEFAULT,Bold)"    >
  24. <!ENTITY    font-weight.medium    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,Medium,DEFAULT,Medium)"   >
  25. <!ENTITY    refmeta.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,GothicBBB-Medium-RKSJ-H,DEFAULT,helvetica)"    >
  26. <!ENTITY    def.font-family CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,Ryumin-Light-RKSJ-H,DEFAULT,times)"    >
  27.  
  28. <sheet >
  29.  
  30.  
  31.  
  32. <?INSTED COMMENT: GROUP #ROOT>
  33.  
  34. <group name="#ROOT">
  35.     <left-indent>    &left-indent.1    </>
  36. </group>
  37.  
  38.  
  39.  
  40. <?INSTED COMMENT: GROUP title>
  41.  
  42. <group name="title">
  43.     <font-family>    &title-font    </>
  44.     <font-weight>    &font-weight.medium    </>
  45.     <font-slant>    &font-slant.roman    </>
  46.     <font-size>    &body.font-size    </>
  47.     <foreground>    &title.foreground    </>
  48.     <line-spacing>    &body.line-space    </>
  49.     <justification>    Left    </>
  50.     <break-before>    True    </>
  51. </group>
  52.  
  53. <style name="APPENDIX,TITLE" group="title">
  54.     <font-family>   &title.font-family      </>
  55.     <font-weight>    &font-weight.bold    </>
  56.     <font-size>    12    </>
  57.     <left-indent>    &chp.title.left-indent    </>
  58.     <space-before>    &chp.title.space-before    </>
  59.     <text-before>Appendix attr(LBL,ancestor())</>
  60. </style>
  61.  
  62. <style name="CHAPTER,TITLE" group="title">
  63.     <font-family>    &title.font-family    </>
  64.     <font-weight>    &chp.title.font-weight    </>
  65.     <font-size>    &chp.title.font-size    </>
  66.     <left-indent>    &chp.title.left-indent    </>
  67.     <space-before>    &chp.title.space-before    </>
  68.     <text-before>&chp.text-b4</>
  69. </style>
  70.  
  71. <style name="GLOSSARY,TITLE" group="title">
  72.     <font-family>    &title.font-family    </>
  73.     <font-weight>    &font-weight.bold    </>
  74.     <font-size>    12    </>
  75.     <space-before>    &title.space-before    </>
  76. </style>
  77.  
  78. <style name="GLOSSARYENTRY" group="title">
  79.     <font-family>    &title.font-family    </>
  80.     <space-before>    &title.space-before    </>
  81. </style>
  82.  
  83. <style name="INTRODUCTION,TITLE" group="title">
  84.     <font-family>    &title.font-family    </>
  85.     <font-weight>    &chp.title.font-weight    </>
  86.     <font-size>    &chp.title.font-size    </>
  87.     <space-before>    &chp.title.space-before    </>
  88. </style>
  89.  
  90. <style name="PART,TITLE" group="title">
  91.     <font-family>    &title.font-family    </>
  92.     <font-weight>    &font-weight.bold    </>
  93.     <character-set> &character-set  </>
  94.     <left-indent>    40    </>
  95.     <space-before>    &title.space-before    </>
  96.     <text-before>PART switch(attr(LBL,ancestor(PART)),I,ONE,II,TWO,III,THREE,IV,FOUR,V,FIVE,VI,SIX,VII,SEVEN,VIII,EIGHT,IX,NINE,DEFAULT,TEN)</>
  97. </style>
  98.  
  99. <style name="REFERENCE,TITLE" group="title">
  100.     <font-family>    &title.font-family    </>
  101.     <font-weight>    &chp.title.font-weight    </>
  102.     <font-size>    &chp.title.font-size    </>
  103.     <space-before>    &chp.title.space-before    </>
  104. </style>
  105.  
  106. <style name="REFNAME" group="title">
  107.     <font-family>    &title.font-family    </>
  108.     <font-size>    12    </>
  109.     <left-indent>    60    </>
  110.     <first-indent>    if(isempty(attr(LBL,ancestor(SECTION1))),0,-=25)    </>
  111.     <space-before>    &title.space-before    </>
  112.     <text-before>if(isempty(attr(LBL,ancestor(SECTION1))),'',join(attr(LBL,ancestor(SECTION1)),'   '))</>
  113. </style>
  114.  
  115. <style name="SECTION1,TITLE" group="title">
  116.     <font-family>    &title.font-family    </>
  117.     <font-size>    &chp.title.font-size    </>
  118.     <first-indent>    if(isempty(attr(LBL,ancestor(SECTION1))),0,-=25)    </>
  119.     <space-before>    &title.space-before    </>
  120.     <text-before>if(isempty(attr(LBL,ancestor(SECTION1))),'',join(attr(LBL,ancestor(SECTION1)),'   '))</>
  121. </style>
  122.  
  123. <style name="SECTION2,TITLE" group="title">
  124.     <font-family>    &title.font-family    </>
  125.     <first-indent>    if(isempty(attr(LBL,ancestor(SECTION2))),0,-=35)    </>
  126.     <space-before>    &title.space-before    </>
  127.     <text-before>if(isempty(attr(LBL,ancestor(SECTION2))),'',join(attr(LBL,ancestor(SECTION2)),'   '))</>
  128. </style>
  129.  
  130. <style name="SECTION3,TITLE" group="title">
  131.     <font-family>    &title.font-family    </>
  132.     <space-before>    &title.space-before    </>
  133.     <text-before>if(isempty(attr(LBL,ancestor(SECTION3))),'',join(attr(LBL,ancestor(SECTION3)),'   '))</>
  134. </style>
  135.  
  136. <style name="SECTION4,TITLE" group="title">
  137.     <space-before>    &title.space-before    </>
  138.     <text-before>if(isempty(attr(LBL,ancestor(SECTION4))),'',join(attr(LBL,ancestor(SECTION4)),'   '))</>
  139. </style>
  140.  
  141. <style name="SGIDOC,TITLE" group="title">
  142.     <font-weight>    &font-weight.bold    </>
  143.     <font-size>    &doc.title.font-size    </>
  144.     <line-spacing>    &doc.title.line-space    </>
  145.     <space-before>    &title.space-before    </>
  146.     <title-tag>    "    </>
  147. </style>
  148.  
  149. <style name="SPARES,TITLE" group="title">
  150. </style>
  151.  
  152. <style name="SSB,TITLE" group="title">
  153. </style>
  154.  
  155. <style name="TITLEPAGE,TITLE" group="title">
  156.     <font-family>    &title.font-family    </>
  157.     <font-weight>    &font-weight.bold    </>
  158.     <font-size>    &doc.title.font-size    </>
  159.     <line-spacing>    &doc.title.line-space    </>
  160.     <space-before>    &title.space-before    </>
  161. </style>
  162.  
  163.  
  164. <?INSTED COMMENT: UNGROUPED STYLES FOLLOW>
  165.  
  166. <!-- Default settings for printing of annotations -->
  167. <style name="#ANNOT">
  168.     <font-family>    &def.font-family    </>
  169.     <font-weight>    &font-weight.medium    </>
  170.     <font-slant>    &font-slant.roman    </>
  171.     <font-video>    regular    </>
  172.     <font-size>    12    </>
  173.     <character-set>    &character-set    </>
  174.     <score>    none    </>
  175.     <line-spacing>    24    </>
  176.     <break-before>    line    </>
  177.     <break-after>    line    </>
  178. </style>
  179.  
  180. <style name="#ROOT">
  181.     <break-before>    Line    </>
  182. </style>
  183.  
  184. <style name="#SDATA">
  185.     <font-family>    attr(font)    </>
  186.     <font-weight>    &font-weight.medium    </>
  187.     <font-slant>    &font-slant.roman    </>
  188.     <character-set>    attr(charset)    </>
  189.     <text-before>char(attr(code))</>
  190. </style>
  191.  
  192. <style name="#TAGS">
  193.     <foreground>    purple    </>
  194. </style>
  195.  
  196. <!-- Style"#toc-annot" is reserved, and defines the appearance of the
  197.      bookmarks, word frequencies, location markers, etc. in left margin.
  198. -->
  199. <style name="#TOC-ANNOT">
  200.     <font-family>    courier    </>
  201.     <font-weight>    &font-weight.bold    </>
  202.     <font-size>    12    </>
  203.     <character-set>    fontspecific    </>
  204.     <foreground>    magenta    </>
  205. </style>
  206.  
  207. <style name="APPENDIX">
  208.     <left-indent>    if(isempty(attr(LBL)),+=20,+=95)    </>
  209.     <title-tag>    TITLE    </>
  210. </style>
  211.  
  212. <style name="APPENDIX,SECTION1,SECTION2">
  213.     <left-indent>    if(isempty(attr(LBL)),+=14,+=35)    </>
  214.     <title-tag>    TITLE    </>
  215. </style>
  216.  
  217. <style name="APPENDIX,SECTION1,SECTION2,SECTION3">
  218.     <left-indent>    if(isempty(attr(LBL)),+=14,-=25)    </>
  219.     <title-tag>    TITLE    </>
  220. </style>
  221.  
  222. <style name="APPENDIX,TITLE,#TEXT-BEFORE">
  223.     <font-weight>    &font-weight.medium    </>
  224.     <font-slant>    &font-slant.italics    </>
  225.     <font-size>    12    </>
  226.     <break-after>    True    </>
  227. </style>
  228.  
  229. <style name="BNF">
  230.     <hide>    All    </>
  231. </style>
  232.  
  233. <style name="BUTTON">
  234.     <font-slant>    &font-slant.italics    </>
  235. </style>
  236.  
  237. <style name="CAUTION">
  238.     <hide>    All    </>
  239. </style>
  240.  
  241. <style name="CHAPTER">
  242.     <left-indent>    if(isempty(attr(LBL)),+=20,+=95)    </>
  243.     <title-tag>    TITLE    </>
  244. </style>
  245.  
  246. <style name="CHAPTER,TITLE,#TEXT-BEFORE">
  247.     <font-family>    &title.font-family    </>
  248.     <font-weight>    &font-weight.medium    </>
  249.     <font-slant>    &font-slant.italics    </>
  250.     <font-size>    12    </>
  251.     <break-after>    True    </>
  252. </style>
  253.  
  254. <style name="CHECKOFF">
  255.     <hide>    All    </>
  256. </style>
  257.  
  258. <style name="CODE">
  259.     <hide>    All    </>
  260. </style>
  261.  
  262. <style name="COMMAND">
  263.     <font-slant>    &font-slant.italics    </>
  264. </style>
  265.  
  266. <style name="CREDITSPAGE">
  267.     <hide>    All    </>
  268. </style>
  269.  
  270. <style name="DOCNUMBER">
  271.     <hide>    All    </>
  272. </style>
  273.  
  274. <style name="EMPHASIS">
  275.     <font-slant>    &font-slant.italics    </>
  276. </style>
  277.  
  278. <style name="EXAMPLE">
  279.     <hide>    All    </>
  280. </style>
  281.  
  282. <style name="FIGURE">
  283.     <hide>    All    </>
  284. </style>
  285.  
  286. <style name="FILENAME">
  287.     <font-slant>    &font-slant.italics    </>
  288. </style>
  289.  
  290. <style name="GLOSSARY">
  291.     <left-indent>    +=20    </>
  292.     <title-tag>    TITLE    </>
  293. </style>
  294.  
  295. <style name="GLOSSARYDEF">
  296.     <hide>    All    </>
  297. </style>
  298.  
  299. <style name="GLOSSARYTERM">
  300.     <left-indent>    +=15    </>
  301.     <title-tag>    GLOSSARYENTRY    </>
  302. </style>
  303.  
  304. <style name="HANGLIST">
  305.     <hide>    All    </>
  306. </style>
  307.  
  308. <style name="HANGLISTIND">
  309.     <hide>    All    </>
  310. </style>
  311.  
  312. <style name="HELPTOPIC,TITLE">
  313.     <hide>    All    </>
  314. </style>
  315.  
  316. <style name="HINT">
  317.     <hide>    All    </>
  318. </style>
  319.  
  320. <style name="INDEXREF">
  321.     <hide>    All    </>
  322. </style>
  323.  
  324. <style name="INDEXTERM">
  325.     <hide>    All    </>
  326. </style>
  327.  
  328. <style name="INTRODUCTION">
  329.     <left-indent>    &add.left-indent    </>
  330.     <title-tag>    TITLE    </>
  331. </style>
  332.  
  333. <style name="INTRODUCTION,SECTION1">
  334.     <left-indent>    +=20    </>
  335.     <title-tag>    TITLE    </>
  336. </style>
  337.  
  338. <style name="ITALICS">
  339.     <font-slant>    &font-slant.italics    </>
  340. </style>
  341.  
  342. <style name="MSG">
  343.     <hide>    All    </>
  344. </style>
  345.  
  346. <style name="NOTE">
  347.     <hide>    All    </>
  348. </style>
  349.  
  350. <style name="PARAGRAPH">
  351.     <font-weight>    &font-weight.bold    </>
  352.     <hide>    All    </>
  353. </style>
  354.  
  355. <style name="PART">
  356.     <title-tag>    TITLE    </>
  357. </style>
  358.  
  359. <style name="PART,TITLE,#TEXT-BEFORE">
  360.     <font-family>    &title.font-family    </>
  361.     <font-weight>    &font-weight.medium    </>
  362.     <break-after>    True    </>
  363. </style>
  364.  
  365. <style name="PROGRAMNAME">
  366.     <font-slant>    &font-slant.italics    </>
  367. </style>
  368.  
  369. <style name="REFENTRY">
  370.     <title-tag>    REFMETA    </>
  371. </style>
  372.  
  373. <style name="REFERENCE">
  374.     <left-indent>    if(isempty(attr(LBL)),+=20,+=95)    </>
  375.     <title-tag>    if(ancestor(APPENDIX),,TITLE)    </>
  376. </style>
  377.  
  378. <style name="REFMETA">
  379.     <font-family>    &refmeta.font-family    </>
  380.     <font-size>    12    </>
  381.     <left-indent>    60    </>
  382.     <first-indent>    if(isempty(attr(LBL,ancestor(SECTION1))),0,-=25)    </>
  383.     <space-before>    &title.space-before    </>
  384.     <text-before>if(isempty(attr(LBL,ancestor(SECTION1))),'',join(attr(LBL,ancestor(SECTION1)),'   '))</>
  385. </style>
  386.  
  387. <style name="SECTION1">
  388.     <left-indent>    if(isempty(attr(LBL)),-=60,-=20)    </>
  389.     <title-tag>    TITLE    </>
  390. </style>
  391.  
  392. <style name="SECTION2">
  393.     <left-indent>    if(isempty(attr(LBL)),+=15,+=30)    </>
  394.     <title-tag>    TITLE    </>
  395. </style>
  396.  
  397. <style name="SECTION3">
  398.     <left-indent>    if(isempty(attr(LBL)),+=10,-=15)    </>
  399.     <hide>    Children    </>
  400.     <title-tag>    TITLE    </>
  401. </style>
  402.  
  403. <style name="SECTION4">
  404.     <left-indent>    +=20    </>
  405.     <title-tag>    TITLE    </>
  406. </style>
  407.  
  408. <style name="SGIDOC">
  409.     <left-indent>    &add.left-indent    </>
  410.     <title-tag>    MANUAL,FRONTMATTER,TITLEPAGE,TITLE    </>
  411. </style>
  412.  
  413. <style name="SHORTCUT">
  414.     <hide>    All    </>
  415. </style>
  416.  
  417. <style name="SPARES">
  418.     <left-indent>    &add.left-indent    </>
  419.     <title-tag>    TITLE    </>
  420. </style>
  421.  
  422. <style name="SSB">
  423.     <left-indent>    &add.left-indent    </>
  424.     <title-tag>    TITLE    </>
  425. </style>
  426.  
  427. <style name="SUPPORT">
  428.     <title-tag>    TITLEPAGE,TITLE    </>
  429. </style>
  430.  
  431. <style name="SYM">
  432.     <font-family>    symbol    </>
  433.     <font-weight>    Medium    </>
  434.     <character-set>    symbol    </>
  435. </style>
  436.  
  437. <style name="TABLE">
  438.     <hide>    All    </>
  439. </style>
  440.  
  441. <style name="TIP">
  442.     <hide>    All    </>
  443. </style>
  444.  
  445. <style name="TITLE,#TEXT-BEFORE">
  446.     <font-weight>    &font-weight.bold    </>
  447. </style>
  448.  
  449. <style name="VARIABLE">
  450.     <font-slant>    &font-slant.italics    </>
  451. </style>
  452.  
  453. <style name="WARNING">
  454.     <hide>    All    </>
  455. </style>
  456.  
  457.  
  458.  
  459. </sheet>
  460.